/*
 * QueryWantBuyListResponse.java
 * business
 *
 * Created by ChenTao on 2016/10/20.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/** 查询求购信息列表Response */
public class QueryWantBuyListResponse extends PagerResponse {

    @SerializedName("data")
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {

        @SerializedName("count")
        private String count;

        @SerializedName("want_list")
        private List<WantBuyBean> wantList;

        public String getCount() {
            return count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public List<WantBuyBean> getWantList() {
            return wantList;
        }

        public void setWantList(List<WantBuyBean> wantList) {
            this.wantList = wantList;
        }
    }

    public static class WantBuyBean {

        @SerializedName("wid")
        private String wid;

        @SerializedName("goods_name")
        private String goodsName;

        @SerializedName("goods_attr")
        private String goodsAttr;

        @SerializedName("province")
        private String province;

        @SerializedName("city")
        private String city;

        @SerializedName("district")
        private String district;

        @SerializedName("address")
        private String address;

        @SerializedName("buy_num")
        private String buyNum;

        @SerializedName("buy_unit")
        private String buyUnit;

        @SerializedName("buy_explain")
        private String buyExplain;

        @SerializedName("create_time")
        private long createTime;

        @SerializedName("picture")
        private String picture;

        public String getWid() {
            return wid;
        }

        public void setWid(String wid) {
            this.wid = wid;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getGoodsAttr() {
            return goodsAttr;
        }

        public void setGoodsAttr(String goodsAttr) {
            this.goodsAttr = goodsAttr;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getDistrict() {
            return district;
        }

        public void setDistrict(String district) {
            this.district = district;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getBuyNum() {
            return buyNum;
        }

        public void setBuyNum(String buyNum) {
            this.buyNum = buyNum;
        }

        public String getBuyUnit() {
            return buyUnit;
        }

        public void setBuyUnit(String buyUnit) {
            this.buyUnit = buyUnit;
        }

        public String getBuyExplain() {
            return buyExplain;
        }

        public void setBuyExplain(String buyExplain) {
            this.buyExplain = buyExplain;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getPicture() {
            return picture;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }
    }
}
